<?php
/**
 * mysql only actually
 */
class DjQuerySet {

    /**
     * @param string $model model class
     */
    public function __construct($model) {
        $this->model=$model;
    }

    /**
     * Performs the query and returns a single object matching the given keyword arguments.
     * @param array $id
     * @return DjModel or child
     */
    public function get($id) {
        $class=$this->model;
        $table=$class::$table;
        $sql="SELECT * FROM $table WHERE id=$id";
    }


    /**
     * @var string model class
     */
    protected $model;
}